#ifndef MAINWINDOWLABELEVENTFILTER_H
#define MAINWINDOWLABELEVENTFILTER_H

#include <QObject>
#include <QEvent>

//Qlabel事件过滤器类
class MainWindowLabelEventFilter : public QObject
{
    Q_OBJECT
public:
    explicit MainWindowLabelEventFilter(QObject *parent = nullptr);

    virtual bool eventFilter(QObject *watched, QEvent *event);

signals:
    void labelClicked(QObject *watched);  //鼠标点击信号

};

#endif // MAINWINDOWLABELEVENTFILTER_H
